#include <STC12C5A60S2.H>
#include "intrins.h"



void DelayUs2x(unsigned int xus)		//@11.0592MHz
{
	unsigned char i;
	while(xus--)
	{
		_nop_();
		_nop_();
		i = 2;
		while (--i);	
	
	}


}

void DelayMs(unsigned int xms)		//@11.0592MHz
{
	unsigned char i, j;
	while(xms--)
	{
		_nop_();
		i = 11;
		j = 190;
		do
		{
			while (--j);
		} while (--i);	
		
	}


}

